<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;"
      name="viewport"
    />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title><%= htmlWebpackPlugin.options.title %></title>
    <!-- <script src="<%= BASE_URL %>lib/three.min.js"></script> -->
    <!-- <script src="<%= BASE_URL %>lib/OrbitControls.js"></script> -->
    <!-- <script src="<%= BASE_URL %>lib/ThreeBSP.js"></script> -->
    <!-- <script src="<%= BASE_URL %>lib/RequestAnimationFrame.js"></script> -->
    <!-- <script src="<%= BASE_URL %>lib/THREEx.WindowResize.js"></script> -->
    <!-- <script src="<%= BASE_URL %>lib/onEvent.js"></script> -->
    <!-- <script src="<%= BASE_URL %>lib/three.interaction.js"></script> -->

    <script>
      // if (THREEx) {
      //   window.THREEx = THREEx;
      // }
      //if (Interaction) {
      //   window.Interaction = Interaction;
      // }
      // if (Detector) {
      //   window.Detector = Detector;
      // }
      // if (TWEEN) {
      //   window.TWEEN = TWEEN;
      // }
    </script>
    <script>
      document.documentElement.addEventListener(
        "touchstart",
        function(event) {
          if (event.touches.length > 1) {
            event.preventDefault();
          }
        },
        false
      );
      var lastTouchEnd = 0;
      document.documentElement.addEventListener(
        "touchend",
        function(event) {
          var now = Date.now();
          if (now - lastTouchEnd <= 300) {
            event.preventDefault();
          }
          lastTouchEnd = now;
        },
        false
      );
    </script>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
        properly without JavaScript enabled. Please enable it to
        continue.</strong
      >
    </noscript>
    <div id="app"></div>
  </body>
</html>
